# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-halo
_pyname=halo
pkgver=0.0.31
pkgrel=4
pkgdesc="Python library for terminal spinners"
url="https://github.com/manrajgrover/halo"
arch="noarch"
license="MIT"
depends="python3 py3-log-symbols py3-spinners py3-termcolor py3-colorama py3-six"
makedepends="py3-setuptools"
options="!check"  # no tests
subpackages="$pkgname-pyc"
source="$_pyname-$pkgver.tar.gz::https://pypi.python.org/packages/source/h/halo/halo-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
0c8f97d0153f46691f57f31755c3b8f69634c565cdfb42b91423b305b9e5a523b511f33fd44bb7206f6b1a90d34c8a9baf19e83874acb2504b476f8e8e5ad6a8  halo-0.0.31.tar.gz
"
